package com.sysd.mail.entity.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * project: mail
 *
 * @author bsh
 * @description EmailBox
 * @dataTime 2023/3/29 10:24
 * @company 丽水信阳软件科技有限公司
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("sysd_email_box")
public class EmailBox implements Serializable {

    private static final long serialVersionUID = 1L;


    @TableId(value = "email_box_id", type = IdType.AUTO)
    private Integer emailBoxId;


    @TableField("email_box_from")
    private String emailBoxFrom;


    @TableField("email_box_to")
    private String emailBoxTo;


    @TableField("email_box_date")
    private LocalDateTime emailBoxDate;


    @TableField("email_box_subject")
    private String emailBoxSubject;

    @TableField("email_box_str")
    private String emailBoxStr;

    @TableField("flag")
    private Integer flag;
}
